import { createApp } from 'vue'
import App from './App.vue'

// 导入路由
import router from './router'

// 导入vuex，store实例
import store from './store'

// 导入全局公共组件
import Components from '@/components'

// 导入重置样式
import '@/styles/common.less'

// 导入全局指令/插件
import { defineDirective } from '@/directives'

// 创建vue应用实例，挂载
createApp(App).use(store).use(router).use(Components).use(defineDirective).mount('#app')
